package leetcode_301_400;

public class LeeCode_342 {
    public static void main(String[] args) {

    }
    private static boolean isPowerOfFour(int n) {
        if (n <= 0)
            return false;
        while (n > 1){
            if (n % 4 != 0)
                return false;
            n /= 4;
        }
        return true;
    }
}
